snort3: switch from git proto to tarballs
authorJohn Audia <[email protected]>
Sun, 7 Sep 2025 10:57:17 +0000 (06:57 -0400)
committerHannu Nyman <[email protected]>
Wed, 10 Sep 2025 20:16:38 +0000 (23:16 +0300)
Use upstream tarballs for source rather than using git. If we ever need
to build from git we can cherry pick and make a patch. This gives a
cleaner Makefile and faster build.

Signed-off-by: John Audia <[email protected]>
net/snort3/Makefile

index 0473cc73f39440aa13a2e1f835cc61c6e05cea29..106c60290324a9f0d297ea87afd6198028028ab5 100644 (file)
@@ -7,12 +7,11 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=snort3
 PKG_VERSION:=3.9.5.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=$(PKG_VERSION)
-PKG_SOURCE_URL:=https://github.com/snort3/snort3
-PKG_MIRROR_HASH:=e1f6b012d845bde9e47a5a7110ca9ccf8df47cc62dce20e3f20b9b275138727a
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/snort3/snort3/tar.gz/$(PKG_VERSION)?
+PKG_HASH:=e2e36a8db2c4c26a6ff58ea58839339260319eba25d0eb901ddb7210f4fa4b4c
 
 PKG_MAINTAINER:=W. Michael Petullo <[email protected]>, John Audia <[email protected]>
 PKG_LICENSE:=GPL-2.0-only